export default {
  list: {
    url: '/oa/interpreter/list',
    method: 'GET'
  },
  info: {
    url: '/oa/interpreter/info/:id',
    method: 'GET'
  },
  delete: {
    url: '/oa/interpreter/delete',
    method: 'POST'
  },
  save: {
    url: '/oa/interpreter/save',
    method: 'POST'
  },
  update: {
    url: '/oa/interpreter/update',
    method: 'POST'
  },
  // 讲解记录页面接口
  interpreterSchedulingList : {
    url: '/oa/interpreterScheduling/list',
    method: 'GET'
  },
  // 讲解记录导出
  interpreterSchedulingExport : {
    method: 'POST',
    url: '/oa/interpreterScheduling/exportInterpreterSchedulingList',
    responseType: 'blob'
  },
  // 考勤统计页面
  interpreterList: {
    url: '/oa/interpreter/list',
    method: 'GET'
  },
  statisticsList: {
    url: '/oa/interpreterScheduling/statisticsList',
    method: 'GET'
  },
  exportStatisticsList: {
    url: '/oa/interpreterScheduling/exportStatisticsList',
    method: 'POST',
    responseType: 'blob'
  }
} as ApiConfig

export interface InterpreterModel {
  birthday: string
  createBy: string
  createTime: string
  deleteFlag: boolean
  explanationsNumber: number
  id: number
  idNumber: string
  interpreterName: string
  introduce: string
  level: string // A6601专职讲解员 A6602兼职讲解员
  levelValue: string
  phoneNumber: string
  residence: string
  sex: number // 0男 1女
  sexValue: string
  todayStatus: string
  updateBy: string
  updateTime: string
  identifyingId: string;
}
